
#ifndef __BMANX_POWERUP_HEADER_FILE__
#define __BMANX_POWERUP_HEADER_FILE__

#include "coid/comm/commtypes.h"

using namespace coid;

////////////////////////////////////////////////////////////////////////////////
struct POWERUP
{
    uchar _type;        enum { FIRST_POS=0, NONE=FIRST_POS, BOMB, FLAME, GOLDFLAME, KICK, GRAB,
		  					   PUNCH, JELLY, TRIGGER, SKATE, SPOOGE, BRAKE,
                               LAST_POS, FIRST_NEG=LAST_POS,
                               CRAWL=FIRST_NEG, VOLANT, NOBOMBS, EJECT, FASTDETONATE, REVERSE, SHORTFLAME,
                               THROWFLAME, THROWSKATE, THROWBOMB, THROWSPECIAL,
                               COMBINED,
                               LAST_NEG };

    enum {
        NUM_PWUP                = LAST_NEG - FIRST_POS,
        NUM_POS_PWUP            = LAST_POS - FIRST_POS,
        NUM_NEG_PWUP            = LAST_NEG - FIRST_NEG,
    };


    POWERUP() { _type = 0; }
    POWERUP( uchar type )   { _type = type; }

    POWERUP operator = ( const uchar type )   { _type = type;  return *this; }
};


COID_TYPE_TRIVIAL(POWERUP);


#endif //__BMANX_POWERUP_HEADER_FILE__
